//
//  clsBaseGhost.h
//  NewMath
//
//  Created by Ngô Hoàng Nam on 12/30/14.
//
//

#ifndef __NewMath__BaseGhostObj__
#define __NewMath__BaseGhostObj__
#include "cocos2d.h"
#include "ui/CocosGUI.h"
#include "../Scenes/Level/LevelConfig.h"
#include "../Scenes/Play/PlayConfig.h"
USING_NS_CC;
using namespace ui;

class BaseGhostObj : public cocos2d::Node
{
protected:
    Button* m_Ghost;
    cocos2d::Vector<Sprite*> m_vectorStar;
    Sprite* m_eye;
    Sprite* m_mouth;
    Sprite* m_LeftHand;
    Sprite* m_RightHand;
    static float m_distanceStar_Ghost;
    
    bool m_isVisible;
    
    
public:
    bool myGetVisible();
    void mySetVisible(bool visible);
    BaseGhostObj();
    virtual void initGhost(std::string ghostSprite, Vec2 Position,float canvasHeight);
    static void addToLayer(Node* node, BaseGhostObj* ghost);
};




#endif /* defined(__NewMath__clsBaseGhost__) */
